package com.study.java.jinjie.jihe.lianxi.three;

import java.util.HashMap;
import java.util.Map;


public class Test {
    public static void main(String[] args) {

        Map< Integer,Student >studentmap = new HashMap<>();

        studentmap.put(1, new Student(100001, "张三", (short)78));
        studentmap.put(2, new Student(100002, "张四", (short)87));
        studentmap.put(3, new Student(100003, "张五", (short)57));
        studentmap.put(4, new Student(100004, "张六", (short)77));


        //   key    value
        Map< String, Student >studentmap2 = new HashMap<>();
        studentmap2.put("4", new Student(100004, "张六", (short)77));

        Score score = new Score(studentmap);
        score.studentprint();
        score.pingjun();
        score.zuigao();


    }
}
